package org.nepu.sc.domain;
@Deprecated
public class CommonMethods {
    public static String toGrade(double score) {
        if (score >= 0.6){
            return "安全";
        }
        return null;
    }

    //判断一个数组的值全为true
    public static boolean isAllTrue(boolean[] arr){
        for(boolean b : arr) {
            if (!b) {
                return false;
            }
        }
        return true;
    }
}
